import java.util.*;
public class Vertical extends Hint{
	
	public Vertical(){
	}
	
	public Vertical(Unit[] units){
		super(units);
	}
	
	public void applyHint(){
		applyHint(units[0], units[1]);
	}
	
	public void applyHint(Unit A, Unit B){
		A.and(B);
		B.and(A);
	}
	
	public String toString(){
		return ""+units[0].getSymbol()+"|"+units[1].getSymbol();
	}
}